
<p>
    Execute <a href="https://www.updatecli.io/updatecli" target="_blank">updatecli</a> on the repository.

    <p>
    The following arguments are available for this function:
    <ul>
      <li>String action: (Optional - Default: "diff") Updatecli action (e.g. subcommand) to execute.</li>
      <li>String config: (Optional - Default: "./updatecli/updatecli.d") path to the file or directory with the updatecli configuration (flag "--config").</li>
      <li>String values: (Optional - Default: "./updatecli/values.yaml") path to the file with the updatecli values (flag "--values").</li>
      <li>String updatecliAgentLabel: (Optional - Default: "jnlp-linux-arm64") agent to be used in the process.</li>
      <li>String cronTriggerExpression: (Optional - Default: "") Enable periodic execution by providing a cron-like expression.</li>
      <li>String credentialsId: (Optional - Default: "github-app-updatecli-on-jenkins-infra") specify the githubApp or usernamePassword credentials id to use to get an Access Token. The corresponding populated env vars are USERNAME_VALUE & UPDATECLI_GITHUB_TOKEN</li>
    </ul>

    Examples:

    <pre><code>
    // Run the "updatecli diff" command
    updatecli()
    </code></pre>

    <pre><code>
    // Here is an example to use another credentials than the default one:
    withCredentials([string(credentialsId: 'another-credential-id', variable: 'ANOTHER_CRED')]) {
      updatecli()
    }
    </code></pre>

    </p>
</p>

<!--
vim: ft=html
-->
